#ifndef __log_h__
#define __log_h__

#include <iostream>

#define LOG(line) std::cout << "Log.txt" << "(" << __LINE__ << "): " << line
#ifdef _DEBUG
#define LOGD(line) std::cout << "D "; LOG(line) << std::endl;
#else
#define LOGD(line)
#endif
#define LOGI(line) { std::cout << "I "; LOG(line) << std::endl; }
#define LOGW(line) { std::cout << "W "; LOG(line) << std::endl; }
#define LOGE(line) { std::cout << "E "; LOG(line) << std::endl; }


#endif
